package com.bupt.godxian.charging.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "charge_record")
public class ChargeRecord  {//implements Serializable
    @Id
    @Column(length = 20)
    private String id;

    @Column(name = "order_id", length = 20)
    private String order_id;

    @Column(name = "create_time", length = 20)
    private String create_time;

    @Column(name = "charged_amount")
    private Double charged_amount;

    @Column(name = "charged_time")
    private Double charged_time;

    @Column(name = "begin_time", length = 20)
    private String begin_time;

    @Column(name = "end_time", length = 20)
    private String end_time;

    @Column(name = "charging_cost")
    private Double charging_cost;

    @Column(name = "service_cost")
    private Double service_cost;

    @Column(name = "total_cost")
    private Double total_cost;

    @Column(name = "pile_id", length = 20)
    private String pile_id;

    @Column(name = "user_id", length = 20)
    private String user_id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderId() {
        return order_id;
    }

    public void setOrderId(String orderId) {
        this.order_id = orderId;
    }

    public String getCreateTime() {
        return create_time;
    }

    public void setCreateTime(String createTime) {
        this.create_time = createTime;
    }

    public Double getChargedAmount() {
        return charged_amount;
    }

    public void setChargedAmount(Double chargedAmount) {
        this.charged_amount = chargedAmount;
    }

    public Double getChargedTime() {
        return charged_time;
    }

    public void setChargedTime(Double chargedTime) {
        this.charged_time = chargedTime;
    }

    public String getBeginTime() {
        return begin_time;
    }

    public void setBeginTime(String beginTime) {
        this.begin_time = beginTime;
    }

    public String getEndTime() {
        return end_time;
    }

    public void setEndTime(String endTime) {
        this.end_time = endTime;
    }

    public Double getChargingCost() {
        return charging_cost;
    }

    public void setChargingCost(Double chargingCost) {
        this.charging_cost = chargingCost;
    }

    public Double getServiceCost() {
        return service_cost;
    }

    public void setServiceCost(Double serviceCost) {
        this.service_cost = serviceCost;
    }

    public Double getTotalCost() {
        return total_cost;
    }

    public void setTotalCost(Double totalCost) {
        this.total_cost = totalCost;
    }

    public String getPileId() {
        return pile_id;
    }

    public void setPileId(String pileId) {
        this.pile_id = pileId;
    }

    public String getUserId() {
        return user_id;
    }

    public void setUserId(String userId) {
        this.user_id = userId;
    }
}
